package com.ruoyi.question.service;


import com.ruoyi.common.domain.question.Question;
import com.ruoyi.common.domain.question.vo.QuestionEditRequestVM;
import com.ruoyi.common.service.BaseService;

import java.util.List;

public interface IQuestionService extends BaseService<Question> {

    List<Question> selectList(QuestionEditRequestVM record);

    QuestionEditRequestVM findById(Long id);
    Question insertFullQuestion(QuestionEditRequestVM model, String user);
    Question updateFullQuestion(QuestionEditRequestVM model, String user);

    QuestionEditRequestVM getQuestionEditRequestVM(Question question);
}
